package com.syncomponents.client.jms;

import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Session;

public interface IJmsReceiver<T> {

    Object recieve(Message message) throws JMSException;

    void reply(Session session, Destination replyTo, Object obj) throws JMSException;
}
